package com.sws.model;

import com.sws.model.bean.C2SActivityBean;

public class ActivityModel {
	
	private Integer no;

    private Integer year;

    private Integer month;

    private Integer weeks;

    private String name;
    
//=============================================
    //返回参数
    private Boolean isSuccess;
//=============================================
    
    public ActivityModel() {
    }
    
    public ActivityModel(C2SActivityBean bean) {
    	this.no = bean.getNo();
    	this.name = bean.getName();
    	this.year = bean.getYear();
    	this.month = bean.getMonth();
    	this.weeks = bean.getWeeks();
    }

	public Boolean getIsSuccess() {
		return isSuccess;
	}

	public void setIsSuccess(Boolean isSuccess) {
		this.isSuccess = isSuccess;
	}
	
	public Integer getNo() {
		return no;
	}

	public void setNo(Integer no) {
		this.no = no;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getMonth() {
		return month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}

	public Integer getWeeks() {
		return weeks;
	}

	public void setWeeks(Integer weeks) {
		this.weeks = weeks;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
